var userDao = require('../dao/userDao');

/* GET home page. */

module.exports = function(app){
  app.get('/', function(req, res, next) {
    console.log(123);
    res.redirect('/');
  });
  app.post('/login',function(req,res,next){
    userDao.login(req,res,next);
  })
};
